<div id="detail">
<?php if(!isset($hide_register_form)):?>
<div class="header-active">
<ul class="clearfix">
<li>
<h3 class="uppercase"><?php echo lang('register');?></h3>
</li>
                                
</ul>
</div>
<div class="form-content">
<div id="error">
{error_message}
</div>
<div class="profile_form">
<form action="{site_url}/customer/add" method="post" name="profile_form_add">
	<div class="form-field">
	<label class="cm-required cm-email" for="profile_email"><?php echo lang('email');?>:</label>
	<input type="text" name="profile[email]" id="profile_email" class="input-text" value="<?php if(isset($post_data['email'])): echo $post_data['email']; endif; ?>" autocomplete="off" />
	</div>
	<div class="form-field">
	<label class="cm-required" for="profile_firstname"><?php echo lang('firstname');?>:</label>
	<input type="text" name="profile[firstname]" id="profile_firstname" class="input-text"  value="<?php if(isset($post_data['firstname'])): echo $post_data['firstname']; endif; ?>" autocomplete="off" />
	</div>
	<div class="form-field">	
	<label class="cm-required" for="profile_lastname"><?php echo lang('lastname');?>:</label>
	<input type="text" name="profile[lastname]" id="profile_lastname" class="input-text"  value="<?php if(isset($post_data['lastname'])): echo $post_data['lastname']; endif; ?>" autocomplete="off" />
	</div>
	<div class="form-field"><label class="cm-required cm-password" for="password"><?php echo lang('password');?>:</label>
	<input type="password" name="profile[password]" id="password" class="input-text" autocomplete="off" />
	</div>
	<div class="form-field"><label class="cm-required cm-password" for="password2"><?php echo lang('password2');?>:</label>
	<input type="password" name="profile[password_conf]" id="password2" class="input-text" autocomplete="off" />
	</div>
	<div class="button-container">
	<button type="submit" class="button float-right" title="<?php echo lang('profile_add');?>" name="profile_add" ><span><span><?php echo lang('profile_add');?></span></span></button>
	<div class="clear"></div>
	</div>

	
</form>
</div>
</div>
<?php else:?>
<div class="form-content">
<div id="error">
{error_message}
</div>
</div>
<?php if(isset($active_link)): echo $active_link; endif;?>
<?php endif?>
</div>